electronapi

APIReferences​.ProcessObject·SupportedCommandLineSwitches·EnvironmentVariables·ChromeExtensionsSupport·BreakingAPIChanges.CustomDOM ...,WebHIDAPI​.TheWebHIDAPIcanbeusedtoaccessHIDdevicessuchaskeyboardsandgamepads.ElectronprovidesseveralAPIsforworkingwiththeWebHIDAPI:.,Returnsanobjectgivingmemoryusagestatisticsaboutthecurrentprocess.NotethatallstatisticsarereportedinKilobytes.Thisapishouldbecal...

Official Guides

API References​. Process Object · Supported Command Line Switches · Environment Variables · Chrome Extensions Support · Breaking API Changes. Custom DOM ...

Device Access

WebHID API​. The WebHID API can be used to access HID devices such as keyboards and gamepads. Electron provides several APIs for working with the WebHID API:.

process

Returns an object giving memory usage statistics about the current process. Note that all statistics are reported in Kilobytes. This api should be called after ...

Electron: Build cross

Interact with your operating system's interfaces with Electron's main process APIs. Customize your application window appearance, control application menus, or ...

Introduction

Electron is a framework for building desktop applications using JavaScript, HTML, and CSS. By embedding Chromium and Node.js into its binary, Electron allows ...

app

This API can be used for purposes such as deciding what language to present the application in. Here are some examples of return values of the various language ...

BrowserWindow

This API already takes into account the difference between a window's size and its content size. Consider a normal window with an HD video player and ...

Inter

Inter-process communication (IPC) is a key part of building feature-rich desktop applications in Electron. Because the main and renderer processes have ...

electronelectron-api-demos

2022年12月5日 — This is a desktop app that interactively and with sample code demonstrates core features of the Electron API. It's built with Electron, too, of ...

Electron - 常用API 解析

上一篇介紹了Electron 的架構,今天來了解一下它到底有什麼API 供我們使用~. Electron API (圖片來源:Electronvue開發實戰1). 從圖可以了解,主進程、渲染進程都 ...